import React from 'react';
import { Link } from "react-router-dom";
import { LikeListWrap } from '../style'
function AdListUl(props) {
    console.log(props.i)
    let i = props.i;
    return (
        <LikeListWrap>
            <Link className='listItem' to={"/shopDetails/" + i.id}  >
                <div className={"imgBox"}>
                    <img className="banner-img" alt="1" src={i.img} />
                </div>
                <div className="listContent">
                    <p className="title"> {i.title}--{i.keywrod}-{props.index}</p>
                    <p className="details"> {i.subTitle}</p>
                    <p className="more">喜欢： {i.price}</p>
                </div>
            </Link></LikeListWrap>
    );
}
export default AdListUl